home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1994 / MacHack 1994.toast / MacHack™94 / Talks & Papers / Timothy Knox / yerk 3.66 / Asm source / Constants < prev    next >
Text File  |  1994-06-24  |  810b  |  35 lines

  1. \ Assembler constants
  2.  
  3.  
  4. 0 value opSize                      \ the size of the operation being compiled
  5. 1 value pass
  6. 0 value keephere
  7.  
  8. file infile
  9.  
  10. 12 constant ccr-type                \ mode constants indicate special registers
  11. 14 constant sr-type
  12. 13 constant usp-type
  13.  
  14. 4 constant EOL                      \ indicates tokenType end-of-line
  15.  
  16. : binary
  17.     2 -> base
  18. ;
  19.  
  20. binary
  21.  
  22. 0100000011000000 value sr>-code     \ opcodes for various special move
  23. 0100011011000000 value >sr-code     \  instructions
  24. 0100111001100000 value usp-code
  25. 0100010011000000 value ccr-code
  26.  
  27. decimal
  28.  
  29. 0 value codePos             \ #bytes in instruction so far
  30.  
  31. 0 value errFlag             \ indicates that a serious error has occurred in
  32.                             \  compilation
  33.  
  34. 0 variable asmbuf 124 reserve \ sets up a 128 byte buffer
  35.